package com.app.micaihu.view.army.contract

import com.app.base.mvp.BaseView
import com.app.http.bean.BaseBean
import com.app.micaihu.bean.infor.AttentionStautsBean
import com.app.micaihu.bean.news.ShareBean
import com.app.micaihu.view.bean.ArmyCurrentMember
import com.app.micaihu.view.bean.ArmyGrade
import com.app.micaihu.view.bean.ArmyMember


/**
 * 军团成员列表
 */
interface ArmyMemberContract {
    interface View : BaseView {
        fun handleArmyMemberList(result: BaseBean<ArmyMember?>?) {}
        fun handleFollow(result: BaseBean<AttentionStautsBean?>?) {}
        fun handleDeleteMember(result: BaseBean<Any?>?) {}
        fun handleShare(result: BaseBean<ShareBean?>?) {}
        fun handleArmyGradeSet(result: BaseBean<List<ArmyGrade>?>?) {}

        fun handleArmyAppointList(result: BaseBean<ArmyMember?>?) {}

        fun handleArmyAppointIndex(result: BaseBean<ArmyCurrentMember?>?) {}

        fun handleArmyAppoint(result: BaseBean<Any?>?) {}
    }

    interface Presenter {
        /**
         * 接口
         */
        fun armyMemberList()

        fun follow(type: Int, toUid: String)

        fun deleteMember(gid: String, toUid: String)

        fun share()

        fun armyGradeSet()

        fun armyAppointList(gid: String)

        fun armyAppointIndex(gid: String, level: String)

        fun armyAppoint(gid: String, level: String, toUid: String)

    }
}